package com.apartment.sevice;

import com.apartment.data.entity.Apartment;
import com.apartment.data.entity.Collect;

import java.util.List;
import java.util.Map;

/**
 * Author : xuzhiyong
 * Date : 2022/6/5 22:23
 */
public interface ServeService {
    boolean addCollect(Collect collect);

    List<Collect> findCollectByUserId(Integer id);

    boolean deleteCollectById(Integer id);

    List<Map<String, Object>> findApartmentByLike(String keyword);
}
